package com.wsj.service;

import java.util.List;

import com.wsj.util.exception.BusinessException;
import com.wsj.util.page.PageResultSet;
import com.wsj.web.subclass.displayBean.directSeed.DirectSeedExtendBean;
import com.wsj.web.vo.homeSite.DirectSeed;

public interface IDirectSeedServ {
	
	boolean add(DirectSeed directSeed)throws BusinessException;
	
	boolean delete(Integer id )throws BusinessException;
	
	boolean update(DirectSeed directSeed)throws BusinessException;
	
	DirectSeed getDirectSeedById(Integer id)throws BusinessException;

	
	PageResultSet loadDirectSeedByExtendBean(DirectSeedExtendBean directSeedExtendBean)throws BusinessException;
	
	List loadDirectSeedList()throws BusinessException;

	List getTopDirectSeedByHistory(int top)throws BusinessException;

	List getTopDirectSeedByDirectClassName(String lanmuname, Integer top)throws BusinessException;

	List getTopByDclassName(String lanmuname, Integer top)throws BusinessException;

	List getDirectSeedByparentId(Integer id, Integer top)throws BusinessException;
	
	
	
}
